from django.conf.urls.defaults import *
from views import article,article_index,index
from tears99 import settings

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
                       (r'^$',index),
                       (r'^article/$',article_index),
                       (r'^article/(\d{3})$', article,),
                       (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': './media'}),
                       (r'^guestbook/$', include('tears99.guestbook.urls')),
                       (r'^admin/', include(admin.site.urls)),
                       )
